Skip to content

gh-110519: Improve deprecation warning in the gettext module#110520

Merged
ambv merged 1 commit intopython:mainfrom
serhiy-storchaka:test_gettext-plural
Oct 9, 2023
Merged

gh-110519: Improve deprecation warning in the gettext module#110520
ambv merged 1 commit intopython:mainfrom
serhiy-storchaka:test_gettext-plural

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Oct 8, 2023

Deprecation warning about non-integer number in gettext now alwais refers to the line in the user code where gettext function or method is used. Previously it could refer to a line in gettext code.

Also, increase test coverage for NullTranslations and domain-aware functions like dngettext().

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants